\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2}{
\section{Zebulon::Underwater::ReportMotorStatus2 Class Reference}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2}\index{Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}}
}


Command message to set the desired thrust of a motor.  


{\ttfamily \#include $<$reportmotorstatus2.h$>$}Inheritance diagram for Zebulon::Underwater::ReportMotorStatus2::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_zebulon_1_1_underwater_1_1_report_motor_status2}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_a0a3f08a8cab0c9078dcdfbf564236cd8}{ReportMotorStatus2} ()
\begin{DoxyCompactList}\small\item\em Constructor. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_ac95eb0138000f837a2fa44ed05600898}{
virtual \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_ac95eb0138000f837a2fa44ed05600898}{$\sim$ReportMotorStatus2} ()}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_ac95eb0138000f837a2fa44ed05600898}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_a55d504e7247796fc741819e15c73cf7f}{WriteMessageBody} (CxUtils::Packet \&packet) const 
\begin{DoxyCompactList}\small\item\em Writes the contents of the message payload to the packet. \item\end{DoxyCompactList}\item 
virtual int \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_a593744f1559bbb970460e9349d7a610f}{ReadMessageBody} (const CxUtils::Packet \&packet)
\begin{DoxyCompactList}\small\item\em Reads the contents of the message payload from the packet, and saves to internal data members. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_ab574be2fa6c4f293c36eac60bd7f7599}{
virtual void {\bfseries Print} () const }
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_ab574be2fa6c4f293c36eac60bd7f7599}

\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_a69c6ef3220440c69383146c8f543d823}{
virtual Message $\ast$ \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_a69c6ef3220440c69383146c8f543d823}{Clone} () const }
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_a69c6ef3220440c69383146c8f543d823}

\begin{DoxyCompactList}\small\item\em Makes a clone of the message. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
unsigned char \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_a1eed0bbb3b7dea23d7c33305df379974}{mMotor}
\begin{DoxyCompactList}\small\item\em See seabotix interface design specification for decoding byte information. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_a2fa8a0d8ed3a3f29dc4ed41102b057e9}{
unsigned char \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_a2fa8a0d8ed3a3f29dc4ed41102b057e9}{mSpeed}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_a2fa8a0d8ed3a3f29dc4ed41102b057e9}

\begin{DoxyCompactList}\small\item\em Indicates thrust power. \item\end{DoxyCompactList}\item 
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_a3ae8a5bfc01bf5d313aa1cd722eaebcd}{
unsigned char \hyperlink{class_zebulon_1_1_underwater_1_1_report_motor_status2_a3ae8a5bfc01bf5d313aa1cd722eaebcd}{mTemperature}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_a3ae8a5bfc01bf5d313aa1cd722eaebcd}

\begin{DoxyCompactList}\small\item\em Indicates motor temperature in degrees celsius. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Command message to set the desired thrust of a motor. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_a0a3f08a8cab0c9078dcdfbf564236cd8}{
\index{Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}!ReportMotorStatus2@{ReportMotorStatus2}}
\index{ReportMotorStatus2@{ReportMotorStatus2}!Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}}
\subsubsection[{ReportMotorStatus2}]{\setlength{\rightskip}{0pt plus 5cm}ReportMotorStatus2::ReportMotorStatus2 ()}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_a0a3f08a8cab0c9078dcdfbf564236cd8}


Constructor. 

$<$ Address of motor reporting status.

$<$ Indicates thrust power.

$<$ Indicates motor temperature in degrees celsius. 

\subsection{Member Function Documentation}
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_a593744f1559bbb970460e9349d7a610f}{
\index{Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}!ReadMessageBody@{ReadMessageBody}}
\index{ReadMessageBody@{ReadMessageBody}!Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}}
\subsubsection[{ReadMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportMotorStatus2::ReadMessageBody (const CxUtils::Packet \& {\em packet})\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_a593744f1559bbb970460e9349d7a610f}


Reads the contents of the message payload from the packet, and saves to internal data members. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to read from.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_a55d504e7247796fc741819e15c73cf7f}{
\index{Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}!WriteMessageBody@{WriteMessageBody}}
\index{WriteMessageBody@{WriteMessageBody}!Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}}
\subsubsection[{WriteMessageBody}]{\setlength{\rightskip}{0pt plus 5cm}int ReportMotorStatus2::WriteMessageBody (CxUtils::Packet \& {\em packet}) const\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_a55d504e7247796fc741819e15c73cf7f}


Writes the contents of the message payload to the packet. 
\begin{DoxyParams}{Parameters}
\item[\mbox{$\leftarrow$} {\em packet}]Packet to write to.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
4 on success, 0 on failure. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_zebulon_1_1_m_c_u_1_1_message}{Zebulon::MCU::Message}.

\subsection{Member Data Documentation}
\hypertarget{class_zebulon_1_1_underwater_1_1_report_motor_status2_a1eed0bbb3b7dea23d7c33305df379974}{
\index{Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}!mMotor@{mMotor}}
\index{mMotor@{mMotor}!Zebulon::Underwater::ReportMotorStatus2@{Zebulon::Underwater::ReportMotorStatus2}}
\subsubsection[{mMotor}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf Zebulon::Underwater::ReportMotorStatus2::mMotor}}}
\label{class_zebulon_1_1_underwater_1_1_report_motor_status2_a1eed0bbb3b7dea23d7c33305df379974}


See seabotix interface design specification for decoding byte information. Address of motor reporting status. 

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/include/underwater/messages/\hyperlink{reportmotorstatus2_8h}{reportmotorstatus2.h}\item 
C:/Users/Matt/Documents/School/Robotics/zebulon/v2/underwater/src/underwater/messages/\hyperlink{reportmotorstatus2_8cpp}{reportmotorstatus2.cpp}\end{DoxyCompactItemize}
